/* body {
    height: 10000px;
    background-color: #ccc;
} */

/* 关闭进度条 webkit */
/* ::-webkit-scrollbar {
    width: 0;
    overflow: hidden;
} */

/* iconfont css*/
.icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
}

/* 清楚内外边距 */
* {
    margin: 0;
    padding: 0;
}

/* 搜索 */
.search-box {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #fff;
    /* 夜间模式动画效果*/
    transition: background-color 1s;
}

/* 搜索logo */
.search-box .search-logo {
    position: absolute;
    top: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1.4167rem;
    height: .4792rem;
    background: url(../images/search_logo.svg) no-repeat;
    background-size: cover;
    overflow: hidden;
}

/* 搜索栏 */
.search-box .search-bar {
    position: absolute;
    top: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3.7344rem;
    height: .2604rem;
}

/* 搜索引擎选项 */
.search-bar .search-select {
    position: absolute;
    left: .026rem;
    top: 50%;
    transform: translateY(-50%);
    width: .2083rem;
    height: .2083rem;
    background: url(../images/search_icon.png) no-repeat;
    background-size: 325%;
    border-radius: .10415rem;
    cursor: pointer;
}

/* 搜索输入框 */
.search-box .search-bar input {
    float: left;
    width: 100%;
    height: 100%;
    font-size: .0833rem;
    color: #333;
    outline: none;
    text-indent: .2604rem;
    box-sizing: border-box;
    border: .0104rem solid #e6e6e6;
    border-radius: .0521rem;
    transition: all .6s;
    caret-color: #4285f4;
}

.search-box .search-bar input::placeholder {
    font-size: .0833rem;
    color: #ccc;
}

.search-box .search-bar input:focus {
    border-color: rgb(7, 153, 250) !important;
    box-shadow: 0 0 .086rem rgba(7, 153, 250, .1);
}

/*选中文字样式设置*/
/* .search-box .search-bar input::selection {
    color: #fff;
    background-color: #36b36b;
} */

/* 搜索button */
.search-bar .search-btn {
    position: absolute;
    right: .026rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: .1302rem;
    color: #e6e6e6;
    cursor: pointer;
    transition: all .6s;
}

.search-bar .search-btn:hover {
    color: #2e5ee2;
}

/* 搜索引擎选项卡 */
.search-card {
    display: none;
    position: absolute;
    bottom: -0.0521rem;
    left: 0;
    transform: translateY(100%);
    width: 100%;
    border: .0104rem solid #e6e6e6;
    border-radius: .026rem;
    background-color: #fff;
    box-shadow: 0 0 .05rem rgba(0, 0, 0, .1);
}

.search-card .arrow {
    position: absolute;
    left: .0525rem;
    top: -0.0104rem;
    transform: translateY(-100%);
    width: 0;
    height: 0;
    border: .0521rem solid transparent;
    border-bottom-color: #fff;
}

.search-card ul {
    list-style: none;
}

.search-card ul li {
    float: left;
    width: 31.9%;
    font-size: .0625rem;
    color: #333;
    line-height: 0.1302rem;
    text-align: center;
    margin: .026rem;
    background-color: #f9f9f9;
    box-sizing: border-box;
    border-radius: .026rem;
    cursor: pointer;
    transition: all .6s;
}

.search-card ul li:hover {
    color: #4285f4 !important;
}

.search-card ul li .search-items-ico {
    float: left;
    width: .1302rem;
    height: .1302rem;
    background: url(../images/search_icon.png) no-repeat -0.4167rem 0;
    background-size: 520%;
    border-radius: 0.0651rem;
}

/* 快捷键Help */
.shortcuts {
    position: absolute;
    bottom: 0.12rem;
    right: 0.12rem;
    font-size: .125rem;
    color: #ccc;
    cursor: pointer;
}

.shortcuts:hover {
    color: rgb(7, 153, 250);
}

/* 配置菜单按钮 */
.search-box .config-menu-btn {
    position: fixed;
    top: .0521rem;
    right: .1042rem;
    font-size: .125rem;
    color: #ccc;
    z-index: 999;
    cursor: pointer;
}

/* 配置list */
.search-box .config-list {
    position: fixed;
    top: 0;
    right: -2rem;
    width: 2rem;
    height: 100%;
    z-index: 1;
    background-color: #ffffff20;
    box-sizing: border-box;
    transition: all .8s ease;
}

.search-box .config-list ul {
    list-style: none;
    overflow: hidden;
    background-color: #fff;
    margin: .3646rem .05rem 0.1rem .05rem;
    border-radius: .0521rem;
    box-shadow: 0 0 .1rem rgba(204, 204, 204, 0.39);
}

.search-box .config-list ul li {
    position: relative;
    font-size: .0833rem;
    padding: .056rem 0.3rem .056rem .056rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 配置项按钮开关 */
.search-box .config-list ul li span {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-20%, -50%);
    width: .1302rem;
    height: .0781rem;
    background: url(../images/off_on.png) no-repeat -0.1563rem 0;
    background-size: 217%;
    cursor: pointer;
}

.search-box .config-list ul li .btnOn {
    background-position-x: 0;
}

.search-box .config-list ul li:hover {
    background-color: #ccc;
}

.search-box .config-list ul .dark-mode-timeSetting {
    display: none;
}

.search-box .config-list ul .dark-mode-timeSetting em {
    font-style: normal;
}

.search-box .config-list ul .dark-mode-timeSetting em input {
    width: .2rem;
}

.search-box .config-list ul .dark-mode-timeSetting button {
    position: absolute;
    top: 50%;
    right: .03rem;
    transform: translateY(-50%);
}

/* footer */
footer {
    position: absolute;
    bottom: .15rem;
    left: 50%;
    font-size: .0625rem;
    color: #333;
    text-align: center;
    transform: translateX(-50%);
}

footer a {
    line-height: .13rem;
    color: #333;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}